package com.example.model.dict.model;

import com.alibaba.fastjson.annotation.JSONField;
import com.example.db.annotations.ID;
import com.example.db.annotations.Table;
import com.example.db.annotations.TableField;


import java.util.Date;

/**
 * @Classname DictiModel
 * @Description TODO
 * @Date 2022/8/2 20:50
 * @Created by XiongXiong
 * @Author: X.I.O
 */
@Table("sys_dict")
public class DictiModel {

    @ID
    private Integer id;

    @TableField("dictino")
    private String dictino;

    @TableField("dictname")
    private String dictname;

    @TableField("pid")
    private Integer pid;

    @TableField("dictdesc")
    private String dictdesc;

    @TableField("dictiitemo")
    private String dictiitemo;

    @TableField("dictivalue")
    private String dictivalue;


    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    @TableField("createdate")
    private Date createdate;

    public Date getCreatedate() {
        return createdate;
    }

    public void setCreatedate(Date createdate) {
        this.createdate = createdate;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getDictino() {
        return dictino;
    }

    public void setDictino(String dictino) {
        this.dictino = dictino;
    }

    public Integer getPid() {
        return pid;
    }

    public void setPid(Integer pid) {
        this.pid = pid;
    }


    public String getDictiitemo() {
        return dictiitemo;
    }

    public void setDictiitemo(String dictiitemo) {
        this.dictiitemo = dictiitemo;
    }

    public String getDictivalue() {
        return dictivalue;
    }

    public void setDictivalue(String dictivalue) {
        this.dictivalue = dictivalue;
    }

    public String getDictname() {
        return dictname;
    }

    public void setDictname(String dictname) {
        this.dictname = dictname;
    }

    public String getDictdesc() {
        return dictdesc;
    }

    public void setDictdesc(String dictdesc) {
        this.dictdesc = dictdesc;
    }
}
